import Layout from '@/views/layout/Layout'

const activity = {
  path: '/customer-center',
  component: Layout,
  name: 'customerCenter',
  alwaysShow: true,
  meta: { title: 'customerCenter', icon: 'customerCenter' },
  children: [
    {
      path: 'appointment',//预约管理列表
      component: () => import('@/views/after-sale/customer-center/appointment-manage/index'),
      name: 'appointmentManage',
      meta: { title: 'appointmentManage' }
    },
    {
      path: 'create-appointment',//新增预约管理
      component: () => import('@/views/after-sale/customer-center/appointment-manage/info/index'),
      name: 'createAppointmentManage',
      hidden: true,
      meta: { title: 'createAppointmentManage' }
    },
    {
      path: 'edit-appointment',//修改预约管理
      component: () => import('@/views/after-sale/customer-center/appointment-manage/info/index'),
      name: 'editAppointmentManage',
      hidden: true,
      meta: { title: 'editAppointmentManage' }
    },
    {
      path: 'view',//预约看板
      component: () => import('@/views/after-sale/customer-center/view/index'),
      name: 'customerViewManage',
      meta: { title: 'customerViewManage' }
    },
    {
      path: 'mode',//预约看板
      component: () => import('@/views/after-sale/customer-center/view/mode'),
      name: 'kanbanMode',
      hidden: true,
      meta: { title: 'kanbanMode' }
    },
  ]
}

export default activity
